package com.nameless.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nameless.entity.Car;
import com.nameless.entity.CarType;
import com.nameless.vo.CarVo;
import com.nameless.vo.Result;

import java.util.List;

public interface CarService extends IService<Car> {
    Result queryCars(Integer id);

    Car getByName(String name);

    //查询所有
    Result queryAllCars(CarVo carVo);

    //    删除
    Result delete(Integer id);

    Result queryAlls();

    Result updates(Car car);

    Result insert(Car car);


    List<Car> carShopIdTypeId(Integer shopId, Integer type);

    List<Car> carSort(Integer shopId, Integer type, Integer value);

    List<Car> carConfig(Integer shopId, Integer type, Integer value);

    List<Car> carBrand(Integer shopId, Integer type, Integer value);
}
